<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>文件下载</title>
</head>
<body>
<p>文件下载</p>
<div th:each="filename:${filenames}">
    <form method="get" th:action="@{/download/}+${filename}">
        <p th:text="${filename}"> </p>
        <p><input type="submit" value="下载"/></p>
    </form>
</div>
</body>
</html>